Skip to content

Suya lola field support implement skeleton field set handler#209

Draft
soldier-sky wants to merge 3 commits intoeclipse-score:mainfrom
soldier-sky:suya_Lola_Field_Support_Implement_SkeletonField_Set_Handler
Draft

Suya lola field support implement skeleton field set handler#209
soldier-sky wants to merge 3 commits intoeclipse-score:mainfrom
soldier-sky:suya_Lola_Field_Support_Implement_SkeletonField_Set_Handler

Conversation

@soldier-sky
Copy link
Contributor

Implement RegisterSetHandler() method to allow users to register callbacks for handling remote Set requests on skeleton fields. The Set handler wraps user-provided validation/modification logic and automatically broadcasts accepted values to all field subscribers via Update().

Issue: SWP-249527

Implement RegisterSetHandler() method to allow users to register
callbacks for handling remote Set requests on skeleton fields.

Issue: SWP-249527
@soldier-sky soldier-sky force-pushed the suya_Lola_Field_Support_Implement_SkeletonField_Set_Handler branch 2 times, most recently from 6dddc3a to aa0d381 Compare March 20, 2026 09:26
Fix testcases failing due to missing implementation of pure
virtual IsSetHandlerRegistered

Issue: SWP-249527
@soldier-sky soldier-sky force-pushed the suya_Lola_Field_Support_Implement_SkeletonField_Set_Handler branch from aa0d381 to ff9ef7d Compare March 20, 2026 12:50
@soldier-sky soldier-sky marked this pull request as ready for review March 20, 2026 13:34
{
public:
using FieldType = SampleDataType;
using SetHandlerType = score::cpp::callback<void(FieldType&)>;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sync with Manuel and fix callback signature.

@soldier-sky soldier-sky marked this pull request as draft March 23, 2026 08:30
Fix the move semantics issue in RegisterSetHandler
and add unit test to verify the fix.

Issue: SWP-249527
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants